package edu.towson.greenteam.tab;

public class TabNotPaidItr extends TabItr {

	public TabNotPaidItr(Tabs tabsIntance) {
		this.allTabs = tabsIntance;
	    index = 0;
		calcNext();
	}

	@Override
	public boolean canProceed(Tab testTab) {
		//only can proceed if tab isn't paid
		return !testTab.isPaid();
	}
}
